#ifndef _FUNGI_H_
#define _FUNGI_H_
#include "GameObject.h"

#define FUNGI_SPEED 2
class Fungi : public GameObject
{
private:
	SpriteEffect m_effect;
	float _timeBeforeDie;
public:
	Fungi(D3DXVECTOR2 position,EState state);
	virtual ~Fungi();
	virtual void Update(float dt);
	virtual void Draw();
	virtual bool IsPlatformer(){return true;}
	//virtual void SetFall();
	// new
	virtual void UpdateCollision(list<GameObject*> , float);
};

#endif